<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html>
  <head>
    <title><tiles:getAsString name="title"/></title>
    
    <!-- Dojo -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/dojo.js"/>"></script>
    
    <!-- Customize Style -->
    <link type="text/css" rel="stylesheet" href="<spring:url value="/css/mainStyle.css"/>" />
    
    <!-- 基礎context路徑 -->
    <meta name="pagebase" content="<tiles:insertAttribute name="pagebase"/>"/>
    <!-- 頁面功能代號 -->
    <meta name="funccode" content="<tiles:insertAttribute name="funccode"/>"/>

    <!-- 系統樣式檔 -->
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/css/CommonUI.css"/>" />
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/simpletreemenu/simpletree.css"/>" />
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/jqueryui/css/redmond/jquery-ui-1.8.2.custom.css"/>" />
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/jqgrid/css/ui.jqgrid.css"/>" />
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/css/style3.css"/>" />
    
    <!-- 系統JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/jquery/jquery-1.9.1.min.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/jqueryui/jquery-ui-1.8.2.custom.min.js"/>"></script>    
    <script type="text/javascript" src="<spring:url value="/commonres/js/simpletreemenu/simpletreemenu.js"/>"></script>
    
    <!-- UI元件樣式檔 -->
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/dynatree/skin-vista/ui.dynatree.css"/>"/>
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/jdmenu/jquery.jdMenu.css"/>"/>
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/jqplot/jquery.jqplot.min.css"/>"/>
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/lightbox/jquery.lightbox-0.5.css"/>"/>
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/my97datepicker/skin/WdatePicker.css"/>"/>
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/spinner/ui.spinner.css"/>"/>
    <link type="text/css" rel="stylesheet" href="<spring:url value="/commonres/js/treeview/jquery.treeview.css"/>"/>
    
    <!-- 自動跳轉輸入元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/autotab/jquery.autotab-1.1b.js"/>"></script>
    <!-- 阻擋輸入元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/blockui/jquery.blockUI.js"/>"></script>
    <!-- 右鍵選單元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/contextmenu/jquery.contextMenu.js"/>"></script>
    <!-- 動態樹元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/dynatree/jquery.dynatree.min.js"/>"></script>
    <!-- 表單元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/form/form2object.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/form/jquery.form.js"/>"></script>
    <!-- 輸入元件JavaScript函式庫 -->    
    <script type="text/javascript" src="<spring:url value="/commonres/js/functionkeyredirect/function.key.redirect.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/halftofulltype/halftofulltype.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/jcaret/jquery.caret.1.02.js"/>"></script>
    <!-- 選單元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/jdmenu/jquery.bgiframe.js"/>"></script>    
    <script type="text/javascript" src="<spring:url value="/commonres/js/jdmenu/jquery.jdMenu.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/jdmenu/jquery.positionBy.js"/>"></script>
    <!-- 表格Grid元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/jqgrid/i18n/grid.locale-zh-tw.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/jqgrid/jquery.jqGrid.min.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/jqgrid/grid.setcolumns.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/jqgrid/grid.postext.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/jqgrid/grid.addons.js"/>"></script>
    <!-- JSON元件JavaScript函式庫 -->        
    <script type="text/javascript" src="<spring:url value="/commonres/js/json/jquery.json-2.2.min.js"/>"></script>
    <!-- 燈箱元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/lightbox/jquery.lightbox-0.5.min.js"/>"></script>
    <!-- 遮罩輸入元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/maskedinput/jquery.maskedinput-1.2.2.min.js"/>"></script>
    <!-- 多檔案上傳元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/multifile/jquery.MultiFile.min.js"/>"></script>
    <!-- 日曆元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/my97datepicker/WdatePicker.js"/>"></script>
    <!-- 微調鈕元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/spinner/ui.spinner.min.js"/>"></script>
    <!-- 樹狀控制元件JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/treeview/jquery.treeview.min.js"/>"></script>
    <!-- UI元件共用JavaScript字串檔 -->    
    <script type="text/javascript" src="<spring:url value="/commonres/js/uicommon/uiCommonString.js"/>"></script>
    <!-- UI模組客製化JavaScript控制檔 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/uicommon/uiCommon.js"/>"></script>
    <!-- 農民曆JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/lunar/lunarCalendar.js"/>"></script>
    <!-- 前端驗證JavaScript函式庫 -->
    <script type="text/javascript" src="<spring:url value="/commonres/js/validate/jquery.validate.min.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/validate/jquery.metadata.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/validate/additional-methods.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/validate/custom-methods.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/validate/localization/messages_tw.js"/>"></script>
    <!-- 浮水印JavaScript函式庫 -->    
    <script type="text/javascript" src="<spring:url value="/commonres/js/watermarkinput/jquery.watermarkinput.js"/>"></script>
    
    
    <!-- Allan Sung Add -->    
    <script type="text/javascript" src="<spring:url value="/commonres/js/modernizr.custom.63321.js"/>"></script>
    <script type="text/javascript" src="<spring:url value="/commonres/js/jquery.dropdown.js"/>"></script>
</head>

  <body>
    <!-- 檔頭區塊 -->
    <tiles:insertAttribute name="header" />
    <!-- 選單區塊 -->    
    <tiles:insertAttribute name="menu" />
    <!-- 內容區塊  -->
    <div id="contentBase">
        <tiles:insertAttribute name="content" />
    </div>
  </body>
</html>